package com.flyco.modules.sms.service.impl;

import com.flyco.modules.sms.entity.SmsInvitationApplyDetail;
import com.flyco.modules.sms.entity.SmsQuestionnaireApplyDetail;
import com.flyco.modules.sms.mapper.SmsQuestionnaireApplyDetailMapper;
import com.flyco.modules.sms.service.ISmsQuestionnaireApplyDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 问卷调查填写明细表
 * @Author: flyco
 * @Date:   2021-05-25
 * @Version: V1.0
 */
@Service
public class SmsQuestionnaireApplyDetailServiceImpl extends ServiceImpl<SmsQuestionnaireApplyDetailMapper, SmsQuestionnaireApplyDetail> implements ISmsQuestionnaireApplyDetailService {

    @Autowired
    private SmsQuestionnaireApplyDetailMapper smsQuestionnaireApplyDetailMapper;

    @Override
    public List<SmsQuestionnaireApplyDetail> selectByMainId(Long mainId) {
        return smsQuestionnaireApplyDetailMapper.selectByMainId(mainId);
    }
}
